package net.lzzy.practices.services;

import net.lzzy.practices.constants.Messages;
import net.lzzy.practices.entities.Result;

import java.util.List;
import java.util.UUID;

/**
 * @author  Jaymo on  2022/6/8
 *
 * */
public interface ResultService {
    List<Result> getChapterResults(UUID studentId, UUID chapterId);
    List<Result> getQuestionResults(UUID questionId,String token);
    Boolean isChapterCommitted(UUID studentId,UUID chapterId,String token);
    Result add(UUID questionId, List<UUID> optionIds, String token);
    Messages remove(UUID id,String token);
    Messages removeChapter(UUID id,String token);
}
